package com.zodiac.app.szse.sse.classification.dto;

import com.zodiac.app.szse.sse.Industry;
import com.zodiac.app.szse.sse.SseCommonRequest;
import lombok.Data;

/**
 * 上市公司行业分类请求参数
 */
@Data
public class SseIndustryClassificationRequest extends SseCommonRequest {
    private Boolean isPagination = false;
    private String csrcName;
    private String csrcCode;

    public SseIndustryClassificationRequest industry(Industry industry) {
        this.csrcCode = industry.getCode();
        this.csrcName = industry.getName();
        return this;
    }
}
